import { createRouter, createWebHistory } from 'vue-router'

const routes = [
  {
    path: '/dataset',
    name: 'Home',
    component: ()=> import('../views/Home/Home.vue')
  },
  {
    path: '/about',
    name: 'About',
    component: () => import('../views/FlagSet.vue')
  },
  {
    path: '/',
    name: 'dataSet',
    component: () => import('../views/DataSet.vue')
  },
  {
    path: '/picGen',
    name: 'picGen',
    component: () => import('../views/PicGen.vue')
  }
]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router